<#macro menu menu submenu>
	<!-- BEGIN SIDEBAR -->
	<div class="page-sidebar-wrapper">
		<!-- DOC: Set data-auto-scroll="false" to disable the sidebar from auto scrolling/focusing -->
		<!-- DOC: Change data-auto-speed="200" to adjust the sub menu slide up/down speed -->
		<div class="page-sidebar navbar-collapse collapse">
			<!-- BEGIN SIDEBAR MENU -->
			<ul class="page-sidebar-menu " data-auto-scroll="false" data-slide-speed="200">
				<li style="height: 25px;"></li>
				<li class="start<#if menu=="home"> active open</#if>">
					<a href="javascript:;">
					<i class="icon-home"></i>
					<span class="title">首页</span>
					<span class="arrow "></span>
					</a>
					<ul class="sub-menu">
						<li>
							<a href="index.html">
							<i class="icon-bar-chart"></i>
							Default Dashboard</a>
						</li>
						<li>
							<a href="index_2.html">
							<i class="icon-bulb"></i>
							New Dashboard #1</a>
						</li>
						<li>
							<a href="index_3.html">
							<i class="icon-graph"></i>
							New Dashboard #2</a>
						</li>
					</ul>
				</li>
				
				
				<li class="heading">
					<h3 class="uppercase">彩票系统</h3>
				</li>
				
				<!-- ＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝ 用户管理 ＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝ -->
				
				<li<#if menu=="user"> class="active open"</#if>>
					<a href="javascript:;">
						<i class="icon-user"></i>
						<span class="title"><@spring.message code="menu.user"/></span>
						<span class="arrow <#if menu=="user">open</#if>"></span>
					</a>
					<ul class="sub-menu">
						<li<#if submenu=="user"> class="active"</#if>>
							<a href="${ctx}/user">
								<@spring.message code="menu.user.user"/>
							</a>
						</li>
						<li<#if submenu=="user-layer"> class="active"</#if>>
							<a href="${ctx}/user-layer">
								<@spring.message code="menu.user.layer"/>
							</a>
						</li>
						<li<#if submenu=="user-bank-card"> class="active"</#if>>
							<a href="${ctx}/user-bank-card">
								<@spring.message code="menu.user.bankcard"/>
							</a>
						</li>
						<li<#if submenu=="quota-record"> class="active"</#if>>
							<a href="${ctx}/quota-record">
								<@spring.message code="menu.user.quotarecord"/>
							</a>
						</li>
						<li<#if submenu=="registration-code"> class="active"</#if>>
							<a href="${ctx}/registration-code">
								注册链接
							</a>
						</li>
						<li<#if submenu=="login-log"> class="active"</#if>>
							<a href="${ctx}/login-log">
								<@spring.message code="menu.user.loginlog"/>
							</a>
						</li>
					</ul>
				</li>
				
				<!-- ＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝ 财务管理 ＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝ -->
				
				<li<#if menu=="financial"> class="active open"</#if>>
					<a href="javascript:;">
						<i class="icon-calculator"></i>
						<span class="title">财务管理</span>
						<span class="arrow <#if menu=="financial">open</#if>"></span>
					</a>
					<ul class="sub-menu">
						<li<#if submenu=="bank"> class="active"</#if>>
							<a href="${ctx}/bank">
								银行管理
							</a>
						</li>
						<li<#if submenu=="payment-platform"> class="active"</#if>>
							<a href="${ctx}/payment-platform">
								支付平台
							</a>
						</li>
						<li<#if submenu=="company-bank-card"> class="active"</#if>>
							<a href="${ctx}/company-bank-card">
								公司银行卡
							</a>
						</li>
						<li<#if submenu=="payment-merchant"> class="active"</#if>>
							<a href="${ctx}/payment-merchant">
								支付商户
							</a>
						</li>
						<li<#if submenu=="payment-bank"> class="active"</#if>>
							<a href="${ctx}/payment-bank">
								支付银行
							</a>
						</li>
						<li<#if submenu=="fee-rule"> class="active"</#if>>
							<a href="${ctx}/fee-rule">
								手续费规则
							</a>
						</li>
						<li<#if submenu=="bank-transaction-detail"> class="active"</#if>>
							<a href="${ctx}/bank-transaction-detail-ck">
								银行交易明细
							</a>
						</li>
						<li<#if submenu=="payment-recharge-order"> class="active"</#if>>
							<a href="${ctx}/payment-recharge-order">
								在线支付订单
							</a>
						</li>
						<li<#if submenu=="bank-recharge-order"> class="active"</#if>>
							<a href="${ctx}/bank-recharge-order">
								网银转账订单
							</a>
						</li>
						<li<#if submenu=="recharge-record"> class="active"</#if>>
							<a href="${ctx}/recharge-record">
								充值记录
							</a>
						</li>
						<li<#if submenu=="withdraw-record"> class="active"</#if>>
							<a href="${ctx}/withdraw-record">
								提款记录
							</a>
						</li>
						<li<#if submenu=="transfer-record"> class="active"</#if>>
							<a href="${ctx}/transfer-record">
								转账记录
							</a>
						</li>
						<li<#if submenu=="balance-exchange-record"> class="active"</#if>>
							<a href="${ctx}/balance-exchange-record">
								额度转换记录
							</a>
						</li>
						<li<#if submenu=="balance-change-record"> class="active"</#if>>
							<a href="${ctx}/balance-change-record">
								额度增减记录
							</a>
						</li>
						<li<#if submenu=="activity-prize-record"> class="active"</#if>>
							<a href="${ctx}/activity-prize-record">
								礼金记录
							</a>
						</li>
						<li<#if submenu==""> class="active"</#if>>
							<a href="${ctx}/">
								分红记录
							</a>
						</li>
						<li<#if submenu==""> class="active"</#if>>
							<a href="${ctx}/">
								投注记录
							</a>
						</li>
						<li<#if submenu==""> class="active"</#if>>
							<a href="${ctx}/">
								追号记录
							</a>
						</li>
						<li<#if submenu==""> class="active"</#if>>
							<a href="${ctx}/">
								返点记录
							</a>
						</li>
						<li<#if submenu==""> class="active"</#if>>
							<a href="${ctx}/">
								打码记录
							</a>
						</li>
						<li<#if submenu==""> class="active"</#if>>
							<a href="${ctx}/">
								用户交易明细
							</a>
						</li>
					</ul>
				</li>
				
				
				<li>
					<a href="javascript:;">
					<i class="icon-bar-chart"></i>
					<span class="title">数据报表</span>
					<span class="arrow "></span>
					</a>
					<ul class="sub-menu">
						<li<#if submenu=="compnay-statistics"> class="active"</#if>>
							<a href="${ctx}/compnay-statistics">
								公司统计报表
							</a>
						</li>
						<li<#if submenu==""> class="active"</#if>>
							<a href="${ctx}/">
								公司日结报表
							</a>
						</li>
						<li<#if submenu==""> class="active"</#if>>
							<a href="${ctx}/">
								用户日结报表
							</a>
						</li>
						<li<#if submenu==""> class="active"</#if>>
							<a href="${ctx}/">
								彩种日结报表
							</a>
						</li>
					</ul>
				</li>
				<!-- BEGIN FRONTEND THEME LINKS -->
				<li<#if menu=="game"> class="active open"</#if>>
					<a href="javascript:;">
						<i class="icon-game-controller"></i>
						<span class="title">游戏管理</span>
						<span class="arrow <#if menu=="game">open</#if>"></span>
					</a>
					<ul class="sub-menu">
						<li<#if submenu==""> class="active"</#if>>
							<a href="${ctx}/">
								彩种管理
							</a>
						</li>
						<li<#if submenu=="play-method-rule"> class="active"</#if>>
							<a href="${ctx}/play-method-rule">
								玩法规则
							</a>
						</li>
						<li<#if submenu=="crawler-config"> class="active"</#if>>
							<a href="${ctx}/crawler-config">
								采集配置
							</a>
						</li>
						<li<#if submenu==""> class="active"</#if>>
							<a href="${ctx}/">
								彩种限额
							</a>
						</li>
						<li<#if submenu==""> class="active"</#if>>
							<a href="${ctx}/">
								期号规则
							</a>
						</li>
						<li<#if submenu==""> class="active"</#if>>
							<a href="${ctx}/">
								期号列表
							</a>
						</li>
						<li<#if submenu==""> class="active"</#if>>
							<a href="${ctx}/">
								开奖号码
							</a>
						</li>
					</ul>
				</li>
				<!-- END FRONTEND THEME LINKS -->
				<li>
					<a href="javascript:;">
					<i class="icon-key"></i>
					<span class="title">权限管理</span>
					<span class="selected"></span>
					<span class="arrow"></span>
					</a>
					<ul class="sub-menu">
						<li<#if submenu==""> class="active"</#if>>
							<a href="${ctx}/">
								角色管理
							</a>
						</li>
						<li<#if submenu==""> class="active"</#if>>
							<a href="${ctx}/">
								权限资源
							</a>
						</li>
					</ul>
				</li>
				<li<#if menu=="system"> class="active open"</#if>>
					<a href="javascript:;">
						<i class="icon-settings"></i>
						<span class="title">系统管理</span>
						<span class="arrow <#if menu=="system">open</#if>"></span>
					</a>
					<ul class="sub-menu">
						<li<#if submenu=="activity"> class="active"</#if>>
							<a href="${ctx}/activity">
								优惠活动
							</a>
						</li>
						<li<#if submenu=="rebate-point-level"> class="active"</#if>>
							<a href="${ctx}/rebate-point-level">
								返点级别
							</a>
						</li>
						<li<#if submenu=="activity-prize-type"> class="active"</#if>>
							<a href="${ctx}/activity-prize-type">
								活动礼金类型
							</a>
						</li>
						<li<#if submenu=="balance-change-reason"> class="active"</#if>>
							<a href="${ctx}/balance-change-reason">
								额度增减原因
							</a>
						</li>
					</ul>
				</li>
				<li class="heading">
					<h3 class="uppercase">管理系统</h3>
				</li>
				<li>
					<a href="#">
						<i class="icon-users"></i>
						<span class="title">管理员</span>
					</a>
				</li>
				<li>
					<a href="#">
						<i class="icon-lock-open"></i>
						<span class="title">白名单</span>
					</a>
				</li>
				<li>
					<a href="#">
						<i class="icon-notebook"></i>
						<span class="title">操作日志</span>
					</a>
				</li>
				<li>
					<a href="#">
						<i class="icon-key"></i>
						<span class="title">权限管理</span>
						<span class="arrow "></span>
					</a>
					<ul class="sub-menu">
						<li>
							<a href="table_basic.html">
							Basic Datatables</a>
						</li>
						<li>
							<a href="table_responsive.html">
							Responsive Datatables</a>
						</li>
						<li>
							<a href="table_managed.html">
							Managed Datatables</a>
						</li>
						<li>
							<a href="table_editable.html">
							Editable Datatables</a>
						</li>
						<li>
							<a href="table_advanced.html">
							Advanced Datatables</a>
						</li>
						<li>
							<a href="table_ajax.html">
							Ajax Datatables</a>
						</li>
					</ul>
				</li>
				<li>
					<a href="#">
						<i class="icon-settings"></i>
						<span class="title">系统配置</span>
					</a>
				</li>
			</ul>
			<!-- END SIDEBAR MENU -->
		</div>
	</div>
	<!-- END SIDEBAR -->
</#macro>